package com.qingcloud.adminbackend.entity.app;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author wangjinnan
 * @since 2021-01-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("df_job_component_instance_schedule")
public class JobComponentInstanceScheduler implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键，公用开发作业组件实例主键
     */
    @ApiModelProperty(value = "主键ID", example = "1")
    @TableId(type = IdType.INPUT)
    private Integer id;

    /**
     * 组件实例ID
     */
    private Integer instanceId;

    /**
     * 任务编号
     */
    private Long taskId;

    /**
     * cron表达式
     */
    private String cron;
}
